namespace WFTest.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class v_stk_inventory_list
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(36)]
        public string FID { get; set; }

        [Key]
        [Column(Order = 1)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int FSTOCKORGID { get; set; }

        [StringLength(255)]
        public string fstockorgname { get; set; }

        [Key]
        [Column(Order = 2)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int FMATERIALID { get; set; }

        [Key]
        [Column(Order = 3)]
        [StringLength(80)]
        public string item_code { get; set; }

        [StringLength(255)]
        public string item_name { get; set; }

        [Key]
        [Column(Order = 4)]
        [StringLength(510)]
        public string specs { get; set; }

        [Key]
        [Column(Order = 5)]
        [StringLength(30)]
        public string warehouse_code { get; set; }

        [Key]
        [Column(Order = 6)]
        [StringLength(80)]
        public string warehouse_name { get; set; }

        [Key]
        [Column(Order = 7)]
        public decimal stock_primary_unit_qty { get; set; }

        [StringLength(80)]
        public string basic_unit { get; set; }

        public double? basic_qty { get; set; }

        [Key]
        [Column(Order = 8)]
        [StringLength(255)]
        public string flotnumber { get; set; }

        [StringLength(80)]
        public string fstockstatus { get; set; }

        [Key]
        [Column(Order = 9)]
        [StringLength(36)]
        public string FOWNERTYPEID { get; set; }

        [StringLength(255)]
        public string fownername { get; set; }
    }
}
